package core.chapter3;

class A
{
	public A()
	{
		System.out.println("A constructor");
	}
}

class B
{
	public B()
	{
		System.out.println("B constructor");
	}
}

public class DataType {
	
	public DataType(int x)
	{
		a = x;
	}
	public void print_data_limit()
	{
		System.out.printf("int : %d\n", 0x7fffffff);
		
		
		System.out.printf("float : %f\n", 134.454f);
		
		System.out.printf("a = %d\n", a);
		
		System.out.printf("str = %s\n", str);
	}

	private int a = 5;
	private String str = "World";
	
	{
		a = 6;
	}
	
	
	private final A m_a = new A();
	private static final B m_b = new B();
	
}
